package com.fly.product.utils;

import com.fly.product.vo.ResultVO;

/**
 * @author Fly
 * @Description 工具类
 * @Date Created in 22:12 2018/3/30
 * @Modified by
 */
public class ResultVOUtil {

    public static ResultVO success(Object object) {
        ResultVO resultVO = new ResultVO();
        resultVO.setData(object);
        resultVO.setCode(0);
        resultVO.setMsg("成功");
        return resultVO;
    }
}
